package RTL.Task4;
import java.util.List;
public interface Remove {
    public static <E> boolean remove (List<E> list, E element) {
        if (list.contains(element)){
            list.remove(element);
            return true;
        } else {
            return false;
        }
    }
    void remove();
}
